[INFO] fetching crate rustc-ap-serialize 662.0.0...
[INFO] checking rustc-ap-serialize-662.0.0 against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] extracting crate rustc-ap-serialize 662.0.0 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate rustc-ap-serialize 662.0.0 on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rustc-ap-serialize 662.0.0
[INFO] finished tweaking crates.io crate rustc-ap-serialize 662.0.0
[INFO] tweaked toml for crates.io crate rustc-ap-serialize 662.0.0 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2158be4c49e1eff04788dcbf85a37820a474fa91023b63365e53cfbf0d28a636
[INFO] running `Command { std: "docker" "start" "-a" "2158be4c49e1eff04788dcbf85a37820a474fa91023b63365e53cfbf0d28a636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2158be4c49e1eff04788dcbf85a37820a474fa91023b63365e53cfbf0d28a636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2158be4c49e1eff04788dcbf85a37820a474fa91023b63365e53cfbf0d28a636", kill_on_drop: false }`
[INFO] [stdout] 2158be4c49e1eff04788dcbf85a37820a474fa91023b63365e53cfbf0d28a636
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84df62c58ec3c2091b962a9fc7aade9e92e392df15203f93ecbd6ee6245a7cb6
[INFO] running `Command { std: "docker" "start" "-a" "84df62c58ec3c2091b962a9fc7aade9e92e392df15203f93ecbd6ee6245a7cb6", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking rustc-ap-serialize v662.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]   --> lib.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | #![feature(specialization)] // FIXME: min_specialization does not work
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout]    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
[INFO] [stdout]    = help: consider using `min_specialization` instead, which is more stable and complete
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]   --> lib.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | #![feature(specialization)] // FIXME: min_specialization does not work
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout]    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
[INFO] [stdout]    = help: consider using `min_specialization` instead, which is more stable and complete
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> lib.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | #![feature(nll)]
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> lib.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | #![feature(nll)]
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `serialize`
[INFO] [stdout]  --> tests/leb128.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serialize as rustc_serialize;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `serialize`
[INFO] [stdout]  --> tests/opaque.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate serialize as rustc_serialize;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_u16_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 7  |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u16_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 26 | impl_test_unsigned_leb128!(test_u16_leb128, write_u16_leb128, read_u16_leb128, u16);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl_test_unsigned_leb128!(test_u16_leb128, test_u16_leb128, read_u16_leb128, u16);
[INFO] [stdout]    |                                             ~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::write_u16_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_u16_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:26:63
[INFO] [stdout]    |
[INFO] [stdout] 7  |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u16_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 26 | impl_test_unsigned_leb128!(test_u16_leb128, write_u16_leb128, read_u16_leb128, u16);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl_test_unsigned_leb128!(test_u16_leb128, write_u16_leb128, test_u16_leb128, u16);
[INFO] [stdout]    |                                                               ~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::read_u16_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_u32_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:27:45
[INFO] [stdout]    |
[INFO] [stdout] 7  |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u32_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 27 | impl_test_unsigned_leb128!(test_u32_leb128, write_u32_leb128, read_u32_leb128, u32);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl_test_unsigned_leb128!(test_u32_leb128, test_u32_leb128, read_u32_leb128, u32);
[INFO] [stdout]    |                                             ~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::write_u32_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_u32_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:27:63
[INFO] [stdout]    |
[INFO] [stdout] 7  |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u32_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 27 | impl_test_unsigned_leb128!(test_u32_leb128, write_u32_leb128, read_u32_leb128, u32);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl_test_unsigned_leb128!(test_u32_leb128, write_u32_leb128, test_u32_leb128, u32);
[INFO] [stdout]    |                                                               ~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::read_u32_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_u64_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:28:45
[INFO] [stdout]    |
[INFO] [stdout] 7  |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u64_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 28 | impl_test_unsigned_leb128!(test_u64_leb128, write_u64_leb128, read_u64_leb128, u64);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl_test_unsigned_leb128!(test_u64_leb128, test_u64_leb128, read_u64_leb128, u64);
[INFO] [stdout]    |                                             ~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::write_u64_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_u64_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:28:63
[INFO] [stdout]    |
[INFO] [stdout] 7  |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u64_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 28 | impl_test_unsigned_leb128!(test_u64_leb128, write_u64_leb128, read_u64_leb128, u64);
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl_test_unsigned_leb128!(test_u64_leb128, write_u64_leb128, test_u64_leb128, u64);
[INFO] [stdout]    |                                                               ~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::read_u64_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_u128_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:29:46
[INFO] [stdout]    |
[INFO] [stdout] 7  |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u128_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 29 | impl_test_unsigned_leb128!(test_u128_leb128, write_u128_leb128, read_u128_leb128, u128);
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl_test_unsigned_leb128!(test_u128_leb128, test_u128_leb128, read_u128_leb128, u128);
[INFO] [stdout]    |                                              ~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::write_u128_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_u128_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:29:65
[INFO] [stdout]    |
[INFO] [stdout] 7  |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_u128_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 29 | impl_test_unsigned_leb128!(test_u128_leb128, write_u128_leb128, read_u128_leb128, u128);
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl_test_unsigned_leb128!(test_u128_leb128, write_u128_leb128, test_u128_leb128, u128);
[INFO] [stdout]    |                                                                 ~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::read_u128_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_usize_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:30:47
[INFO] [stdout]    |
[INFO] [stdout] 7  |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_usize_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 30 | impl_test_unsigned_leb128!(test_usize_leb128, write_usize_leb128, read_usize_leb128, usize);
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl_test_unsigned_leb128!(test_usize_leb128, test_usize_leb128, read_usize_leb128, usize);
[INFO] [stdout]    |                                               ~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::write_usize_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_usize_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:30:67
[INFO] [stdout]    |
[INFO] [stdout] 7  |         fn $test_name() {
[INFO] [stdout]    |         --------------- similarly named constant `test_usize_leb128` defined here
[INFO] [stdout] ...
[INFO] [stdout] 30 | impl_test_unsigned_leb128!(test_usize_leb128, write_usize_leb128, read_usize_leb128, usize);
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl_test_unsigned_leb128!(test_usize_leb128, write_usize_leb128, test_usize_leb128, usize);
[INFO] [stdout]    |                                                                   ~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::read_usize_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_signed_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         write_signed_leb128(&mut stream, x);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::write_signed_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_signed_leb128` in this scope
[INFO] [stdout]   --> tests/leb128.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let (value, bytes_read) = read_signed_leb128(&mut stream, pos);
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rustc_ap_serialize::leb128::read_signed_leb128;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `serialize`
[INFO] [stdout]  --> tests/json.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate serialize as rustc_serialize;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> tests/opaque.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> tests/opaque.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> tests/opaque.rs:230:35
[INFO] [stdout]     |
[INFO] [stdout] 230 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> tests/opaque.rs:230:51
[INFO] [stdout]     |
[INFO] [stdout] 230 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-ap-serialize` due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved imports `json::DecoderError::*`, `json::ErrorCode::*`, `json::Json::*`, `json::JsonEvent::*`, `json::ParserError::*`, `json::from_str`, `json::DecodeResult`, `json::Decoder`, `json::DecoderError`, `json::Encoder`, `json::EncoderError`, `json::Json`, `json::JsonEvent`, `json::Parser`, `json::StackElement`, `json::ToJson`
[INFO] [stdout]     --> tests/json.rs:5:5
[INFO] [stdout]      |
[INFO] [stdout] 5    | use json::DecoderError::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6    | use json::ErrorCode::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7    | use json::Json::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^
[INFO] [stdout] 8    | use json::JsonEvent::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9    | use json::ParserError::*;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10   | use json::{
[INFO] [stdout] 11   |     from_str, DecodeResult, Decoder, DecoderError, Encoder, EncoderError, Json, JsonEvent, Parser,
[INFO] [stdout]      |     ^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^  ^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 12   |     StackElement,
[INFO] [stdout]      |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1204 |     use json::ToJson;
[INFO] [stdout]      |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-ap-serialize` due to 14 previous errors
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]   --> tests/json.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         ExpectedError("Number".to_string(), "[]".to_string()),
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 5  | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]   --> tests/json.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         ExpectedError("Number".to_string(), "false".to_string()),
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 5  | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Object` in this scope
[INFO] [stdout]   --> tests/json.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 82 |     Object(d)
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 5  | use rustc_ap_serialize::json::Json::Object;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]   --> tests/json.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |     assert_eq!(Null.to_string(), "null");
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 5  | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]   --> tests/json.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |     assert_eq!(Null.pretty().to_string(), "null");
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 5  | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]   --> tests/json.rs:99:16
[INFO] [stdout]    |
[INFO] [stdout] 99 |     assert_eq!(U64(0).to_string(), "0");
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 5  | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |     assert_eq!(U64(0).pretty().to_string(), "0");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 102 |     assert_eq!(U64(1234).to_string(), "1234");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |     assert_eq!(U64(1234).pretty().to_string(), "1234");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]    --> tests/json.rs:105:16
[INFO] [stdout]     |
[INFO] [stdout] 105 |     assert_eq!(I64(-5678).to_string(), "-5678");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::I64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]    --> tests/json.rs:106:16
[INFO] [stdout]     |
[INFO] [stdout] 106 |     assert_eq!(I64(-5678).pretty().to_string(), "-5678");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::I64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:108:16
[INFO] [stdout]     |
[INFO] [stdout] 108 |     assert_eq!(U64(7650007200025252000).to_string(), "7650007200025252000");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:109:16
[INFO] [stdout]     |
[INFO] [stdout] 109 |     assert_eq!(U64(7650007200025252000).pretty().to_string(), "7650007200025252000");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 114 |     assert_eq!(F64(3.0).to_string(), "3.0");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:115:16
[INFO] [stdout]     |
[INFO] [stdout] 115 |     assert_eq!(F64(3.0).pretty().to_string(), "3.0");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:117:16
[INFO] [stdout]     |
[INFO] [stdout] 117 |     assert_eq!(F64(3.1).to_string(), "3.1");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |     assert_eq!(F64(3.1).pretty().to_string(), "3.1");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:120:16
[INFO] [stdout]     |
[INFO] [stdout] 120 |     assert_eq!(F64(-1.5).to_string(), "-1.5");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:121:16
[INFO] [stdout]     |
[INFO] [stdout] 121 |     assert_eq!(F64(-1.5).pretty().to_string(), "-1.5");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:123:16
[INFO] [stdout]     |
[INFO] [stdout] 123 |     assert_eq!(F64(0.5).to_string(), "0.5");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:124:16
[INFO] [stdout]     |
[INFO] [stdout] 124 |     assert_eq!(F64(0.5).pretty().to_string(), "0.5");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:126:16
[INFO] [stdout]     |
[INFO] [stdout] 126 |     assert_eq!(F64(f64::NAN).to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:127:16
[INFO] [stdout]     |
[INFO] [stdout] 127 |     assert_eq!(F64(f64::NAN).pretty().to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:129:16
[INFO] [stdout]     |
[INFO] [stdout] 129 |     assert_eq!(F64(f64::INFINITY).to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:130:16
[INFO] [stdout]     |
[INFO] [stdout] 130 |     assert_eq!(F64(f64::INFINITY).pretty().to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:132:16
[INFO] [stdout]     |
[INFO] [stdout] 132 |     assert_eq!(F64(f64::NEG_INFINITY).to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:133:16
[INFO] [stdout]     |
[INFO] [stdout] 133 |     assert_eq!(F64(f64::NEG_INFINITY).pretty().to_string(), "null");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:138:16
[INFO] [stdout]     |
[INFO] [stdout] 138 |     assert_eq!(String("".to_string()).to_string(), "\"\"");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 138 |     assert_eq!(String { vec: val }.to_string(), "\"\"");
[INFO] [stdout]     |                ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 139 |     assert_eq!(String("".to_string()).pretty().to_string(), "\"\"");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 139 |     assert_eq!(String { vec: val }.pretty().to_string(), "\"\"");
[INFO] [stdout]     |                ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:141:16
[INFO] [stdout]     |
[INFO] [stdout] 141 |     assert_eq!(String("homura".to_string()).to_string(), "\"homura\"");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 141 |     assert_eq!(String { vec: val }.to_string(), "\"homura\"");
[INFO] [stdout]     |                ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:142:16
[INFO] [stdout]     |
[INFO] [stdout] 142 |     assert_eq!(String("madoka".to_string()).pretty().to_string(), "\"madoka\"");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 142 |     assert_eq!(String { vec: val }.pretty().to_string(), "\"madoka\"");
[INFO] [stdout]     |                ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |     assert_eq!(Boolean(true).to_string(), "true");
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:148:16
[INFO] [stdout]     |
[INFO] [stdout] 148 |     assert_eq!(Boolean(true).pretty().to_string(), "true");
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:150:16
[INFO] [stdout]     |
[INFO] [stdout] 150 |     assert_eq!(Boolean(false).to_string(), "false");
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:151:16
[INFO] [stdout]     |
[INFO] [stdout] 151 |     assert_eq!(Boolean(false).pretty().to_string(), "false");
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:156:16
[INFO] [stdout]     |
[INFO] [stdout] 156 |     assert_eq!(Array(vec![]).to_string(), "[]");
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:157:16
[INFO] [stdout]     |
[INFO] [stdout] 157 |     assert_eq!(Array(vec![]).pretty().to_string(), "[]");
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:159:16
[INFO] [stdout]     |
[INFO] [stdout] 159 |     assert_eq!(Array(vec![Boolean(true)]).to_string(), "[true]");
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:159:27
[INFO] [stdout]     |
[INFO] [stdout] 159 |     assert_eq!(Array(vec![Boolean(true)]).to_string(), "[true]");
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         Array(vec![Boolean(true)]).pretty().to_string(),
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:161:20
[INFO] [stdout]     |
[INFO] [stdout] 161 |         Array(vec![Boolean(true)]).pretty().to_string(),
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:169:20
[INFO] [stdout]     |
[INFO] [stdout] 169 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:169:36
[INFO] [stdout]     |
[INFO] [stdout] 169 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:169:42
[INFO] [stdout]     |
[INFO] [stdout] 169 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |                                          ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:169:53
[INFO] [stdout]     |
[INFO] [stdout] 169 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 169 |         Array(vec![Boolean(false), Null, Array(vec![String { vec: val }, F64(3.5)])]);
[INFO] [stdout]     |                                                     ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:169:85
[INFO] [stdout]     |
[INFO] [stdout] 169 |         Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]);
[INFO] [stdout]     |                                                                                     ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:191:46
[INFO] [stdout]     |
[INFO] [stdout] 191 |     assert_eq!(mk_object(&[("a".to_string(), Boolean(true))]).to_string(), "{\"a\":true}");
[INFO] [stdout]     |                                              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:193:39
[INFO] [stdout]     |
[INFO] [stdout] 193 |         mk_object(&[("a".to_string(), Boolean(true))]).pretty().to_string(),
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 |         Array(vec![
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:203:43
[INFO] [stdout]     |
[INFO] [stdout] 203 |             mk_object(&[("c".to_string(), String("\x0c\r".to_string()))]),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 203 |             mk_object(&[("c".to_string(), String { vec: val })]),
[INFO] [stdout]     |                                           ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:204:43
[INFO] [stdout]     |
[INFO] [stdout] 204 |             mk_object(&[("d".to_string(), String("".to_string()))]),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 204 |             mk_object(&[("d".to_string(), String { vec: val })]),
[INFO] [stdout]     |                                           ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:233:27
[INFO] [stdout]     |
[INFO] [stdout] 233 |         ("a".to_string(), Boolean(true)),
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |             Array(vec![
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:237:47
[INFO] [stdout]     |
[INFO] [stdout] 237 |                 mk_object(&[("c".to_string(), String("\x0c\r".to_string()))]),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 237 |                 mk_object(&[("c".to_string(), String { vec: val })]),
[INFO] [stdout]     |                                               ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:238:47
[INFO] [stdout]     |
[INFO] [stdout] 238 |                 mk_object(&[("d".to_string(), String("".to_string()))]),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 238 |                 mk_object(&[("d".to_string(), String { vec: val })]),
[INFO] [stdout]     |                                               ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:306:39
[INFO] [stdout]     |
[INFO] [stdout] 306 |     assert_eq!(from_str("nulla"), Err(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:306:51
[INFO] [stdout]     |
[INFO] [stdout] 306 |     assert_eq!(from_str("nulla"), Err(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:307:39
[INFO] [stdout]     |
[INFO] [stdout] 307 |     assert_eq!(from_str("truea"), Err(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:307:51
[INFO] [stdout]     |
[INFO] [stdout] 307 |     assert_eq!(from_str("truea"), Err(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:308:40
[INFO] [stdout]     |
[INFO] [stdout] 308 |     assert_eq!(from_str("falsea"), Err(SyntaxError(TrailingCharacters, 1, 6)));
[INFO] [stdout]     |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:308:52
[INFO] [stdout]     |
[INFO] [stdout] 308 |     assert_eq!(from_str("falsea"), Err(SyntaxError(TrailingCharacters, 1, 6)));
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:309:36
[INFO] [stdout]     |
[INFO] [stdout] 309 |     assert_eq!(from_str("1a"), Err(SyntaxError(TrailingCharacters, 1, 2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:309:48
[INFO] [stdout]     |
[INFO] [stdout] 309 |     assert_eq!(from_str("1a"), Err(SyntaxError(TrailingCharacters, 1, 2)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:310:37
[INFO] [stdout]     |
[INFO] [stdout] 310 |     assert_eq!(from_str("[]a"), Err(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:310:49
[INFO] [stdout]     |
[INFO] [stdout] 310 |     assert_eq!(from_str("[]a"), Err(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:311:37
[INFO] [stdout]     |
[INFO] [stdout] 311 |     assert_eq!(from_str("{}a"), Err(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]    --> tests/json.rs:311:49
[INFO] [stdout]     |
[INFO] [stdout] 311 |     assert_eq!(from_str("{}a"), Err(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:316:35
[INFO] [stdout]     |
[INFO] [stdout] 316 |     assert_eq!(from_str("n"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:316:47
[INFO] [stdout]     |
[INFO] [stdout] 316 |     assert_eq!(from_str("n"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:317:37
[INFO] [stdout]     |
[INFO] [stdout] 317 |     assert_eq!(from_str("nul"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:317:49
[INFO] [stdout]     |
[INFO] [stdout] 317 |     assert_eq!(from_str("nul"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:318:35
[INFO] [stdout]     |
[INFO] [stdout] 318 |     assert_eq!(from_str("t"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:318:47
[INFO] [stdout]     |
[INFO] [stdout] 318 |     assert_eq!(from_str("t"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:319:38
[INFO] [stdout]     |
[INFO] [stdout] 319 |     assert_eq!(from_str("truz"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:319:50
[INFO] [stdout]     |
[INFO] [stdout] 319 |     assert_eq!(from_str("truz"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:320:35
[INFO] [stdout]     |
[INFO] [stdout] 320 |     assert_eq!(from_str("f"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:320:47
[INFO] [stdout]     |
[INFO] [stdout] 320 |     assert_eq!(from_str("f"), Err(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:321:37
[INFO] [stdout]     |
[INFO] [stdout] 321 |     assert_eq!(from_str("faz"), Err(SyntaxError(InvalidSyntax, 1, 3)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:321:49
[INFO] [stdout]     |
[INFO] [stdout] 321 |     assert_eq!(from_str("faz"), Err(SyntaxError(InvalidSyntax, 1, 3)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:323:37
[INFO] [stdout]     |
[INFO] [stdout] 323 |     assert_eq!(from_str("null"), Ok(Null));
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:324:37
[INFO] [stdout]     |
[INFO] [stdout] 324 |     assert_eq!(from_str("true"), Ok(Boolean(true)));
[INFO] [stdout]     |                                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:325:38
[INFO] [stdout]     |
[INFO] [stdout] 325 |     assert_eq!(from_str("false"), Ok(Boolean(false)));
[INFO] [stdout]     |                                      ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:326:39
[INFO] [stdout]     |
[INFO] [stdout] 326 |     assert_eq!(from_str(" null "), Ok(Null));
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:327:39
[INFO] [stdout]     |
[INFO] [stdout] 327 |     assert_eq!(from_str(" true "), Ok(Boolean(true)));
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:328:40
[INFO] [stdout]     |
[INFO] [stdout] 328 |     assert_eq!(from_str(" false "), Ok(Boolean(false)));
[INFO] [stdout]     |                                        ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:345:35
[INFO] [stdout]     |
[INFO] [stdout] 345 |     assert_eq!(from_str("+"), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:345:47
[INFO] [stdout]     |
[INFO] [stdout] 345 |     assert_eq!(from_str("+"), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:346:35
[INFO] [stdout]     |
[INFO] [stdout] 346 |     assert_eq!(from_str("."), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:346:47
[INFO] [stdout]     |
[INFO] [stdout] 346 |     assert_eq!(from_str("."), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:347:37
[INFO] [stdout]     |
[INFO] [stdout] 347 |     assert_eq!(from_str("NaN"), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:347:49
[INFO] [stdout]     |
[INFO] [stdout] 347 |     assert_eq!(from_str("NaN"), Err(SyntaxError(InvalidSyntax, 1, 1)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:348:35
[INFO] [stdout]     |
[INFO] [stdout] 348 |     assert_eq!(from_str("-"), Err(SyntaxError(InvalidNumber, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:348:47
[INFO] [stdout]     |
[INFO] [stdout] 348 |     assert_eq!(from_str("-"), Err(SyntaxError(InvalidNumber, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:349:36
[INFO] [stdout]     |
[INFO] [stdout] 349 |     assert_eq!(from_str("00"), Err(SyntaxError(InvalidNumber, 1, 2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:349:48
[INFO] [stdout]     |
[INFO] [stdout] 349 |     assert_eq!(from_str("00"), Err(SyntaxError(InvalidNumber, 1, 2)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:350:36
[INFO] [stdout]     |
[INFO] [stdout] 350 |     assert_eq!(from_str("1."), Err(SyntaxError(InvalidNumber, 1, 3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:350:48
[INFO] [stdout]     |
[INFO] [stdout] 350 |     assert_eq!(from_str("1."), Err(SyntaxError(InvalidNumber, 1, 3)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:351:36
[INFO] [stdout]     |
[INFO] [stdout] 351 |     assert_eq!(from_str("1e"), Err(SyntaxError(InvalidNumber, 1, 3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:351:48
[INFO] [stdout]     |
[INFO] [stdout] 351 |     assert_eq!(from_str("1e"), Err(SyntaxError(InvalidNumber, 1, 3)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:352:37
[INFO] [stdout]     |
[INFO] [stdout] 352 |     assert_eq!(from_str("1e+"), Err(SyntaxError(InvalidNumber, 1, 4)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:352:49
[INFO] [stdout]     |
[INFO] [stdout] 352 |     assert_eq!(from_str("1e+"), Err(SyntaxError(InvalidNumber, 1, 4)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:354:54
[INFO] [stdout]     |
[INFO] [stdout] 354 |     assert_eq!(from_str("18446744073709551616"), Err(SyntaxError(InvalidNumber, 1, 20)));
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:354:66
[INFO] [stdout]     |
[INFO] [stdout] 354 |     assert_eq!(from_str("18446744073709551616"), Err(SyntaxError(InvalidNumber, 1, 20)));
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:355:54
[INFO] [stdout]     |
[INFO] [stdout] 355 |     assert_eq!(from_str("-9223372036854775809"), Err(SyntaxError(InvalidNumber, 1, 21)));
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope
[INFO] [stdout]    --> tests/json.rs:355:66
[INFO] [stdout]     |
[INFO] [stdout] 355 |     assert_eq!(from_str("-9223372036854775809"), Err(SyntaxError(InvalidNumber, 1, 21)));
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidNumber;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:357:34
[INFO] [stdout]     |
[INFO] [stdout] 357 |     assert_eq!(from_str("3"), Ok(U64(3)));
[INFO] [stdout]     |                                  ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:358:36
[INFO] [stdout]     |
[INFO] [stdout] 358 |     assert_eq!(from_str("3.1"), Ok(F64(3.1)));
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:359:37
[INFO] [stdout]     |
[INFO] [stdout] 359 |     assert_eq!(from_str("-1.2"), Ok(F64(-1.2)));
[INFO] [stdout]     |                                     ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:360:36
[INFO] [stdout]     |
[INFO] [stdout] 360 |     assert_eq!(from_str("0.4"), Ok(F64(0.4)));
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:361:38
[INFO] [stdout]     |
[INFO] [stdout] 361 |     assert_eq!(from_str("0.4e5"), Ok(F64(0.4e5)));
[INFO] [stdout]     |                                      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:362:40
[INFO] [stdout]     |
[INFO] [stdout] 362 |     assert_eq!(from_str("0.4e+15"), Ok(F64(0.4e15)));
[INFO] [stdout]     |                                        ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:363:40
[INFO] [stdout]     |
[INFO] [stdout] 363 |     assert_eq!(from_str("0.4e-01"), Ok(F64(0.4e-01)));
[INFO] [stdout]     |                                        ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:364:36
[INFO] [stdout]     |
[INFO] [stdout] 364 |     assert_eq!(from_str(" 3 "), Ok(U64(3)));
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]    --> tests/json.rs:366:53
[INFO] [stdout]     |
[INFO] [stdout] 366 |     assert_eq!(from_str("-9223372036854775808"), Ok(I64(i64::MIN)));
[INFO] [stdout]     |                                                     ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::I64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:367:52
[INFO] [stdout]     |
[INFO] [stdout] 367 |     assert_eq!(from_str("9223372036854775807"), Ok(U64(i64::MAX as u64)));
[INFO] [stdout]     |                                                    ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:368:53
[INFO] [stdout]     |
[INFO] [stdout] 368 |     assert_eq!(from_str("18446744073709551615"), Ok(U64(u64::MAX)));
[INFO] [stdout]     |                                                     ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:407:25
[INFO] [stdout]     |
[INFO] [stdout] 407 |     assert_eq!(res, Err(ExpectedError("Integer".to_string(), "765.25".to_string())));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:412:36
[INFO] [stdout]     |
[INFO] [stdout] 412 |     assert_eq!(from_str("\""), Err(SyntaxError(EOFWhileParsingString, 1, 2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingString` in this scope
[INFO] [stdout]    --> tests/json.rs:412:48
[INFO] [stdout]     |
[INFO] [stdout] 412 |     assert_eq!(from_str("\""), Err(SyntaxError(EOFWhileParsingString, 1, 2)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:413:39
[INFO] [stdout]     |
[INFO] [stdout] 413 |     assert_eq!(from_str("\"lol"), Err(SyntaxError(EOFWhileParsingString, 1, 5)));
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingString` in this scope
[INFO] [stdout]    --> tests/json.rs:413:51
[INFO] [stdout]     |
[INFO] [stdout] 413 |     assert_eq!(from_str("\"lol"), Err(SyntaxError(EOFWhileParsingString, 1, 5)));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:415:37
[INFO] [stdout]     |
[INFO] [stdout] 415 |     assert_eq!(from_str("\"\""), Ok(String("".to_string())));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 415 |     assert_eq!(from_str("\"\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                     ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:416:40
[INFO] [stdout]     |
[INFO] [stdout] 416 |     assert_eq!(from_str("\"foo\""), Ok(String("foo".to_string())));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 416 |     assert_eq!(from_str("\"foo\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                        ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:417:41
[INFO] [stdout]     |
[INFO] [stdout] 417 |     assert_eq!(from_str("\"\\\"\""), Ok(String("\"".to_string())));
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 417 |     assert_eq!(from_str("\"\\\"\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                         ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:418:40
[INFO] [stdout]     |
[INFO] [stdout] 418 |     assert_eq!(from_str("\"\\b\""), Ok(String("\x08".to_string())));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 418 |     assert_eq!(from_str("\"\\b\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                        ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:419:40
[INFO] [stdout]     |
[INFO] [stdout] 419 |     assert_eq!(from_str("\"\\n\""), Ok(String("\n".to_string())));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 419 |     assert_eq!(from_str("\"\\n\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                        ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:420:40
[INFO] [stdout]     |
[INFO] [stdout] 420 |     assert_eq!(from_str("\"\\r\""), Ok(String("\r".to_string())));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 420 |     assert_eq!(from_str("\"\\r\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                        ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:421:40
[INFO] [stdout]     |
[INFO] [stdout] 421 |     assert_eq!(from_str("\"\\t\""), Ok(String("\t".to_string())));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 421 |     assert_eq!(from_str("\"\\t\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                        ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:422:42
[INFO] [stdout]     |
[INFO] [stdout] 422 |     assert_eq!(from_str(" \"foo\" "), Ok(String("foo".to_string())));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 422 |     assert_eq!(from_str(" \"foo\" "), Ok(String { vec: val }));
[INFO] [stdout]     |                                          ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:423:44
[INFO] [stdout]     |
[INFO] [stdout] 423 |     assert_eq!(from_str("\"\\u12ab\""), Ok(String("\u{12ab}".to_string())));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 423 |     assert_eq!(from_str("\"\\u12ab\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                            ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:424:44
[INFO] [stdout]     |
[INFO] [stdout] 424 |     assert_eq!(from_str("\"\\uAB12\""), Ok(String("\u{AB12}".to_string())));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 424 |     assert_eq!(from_str("\"\\uAB12\""), Ok(String { vec: val }));
[INFO] [stdout]     |                                            ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:449:35
[INFO] [stdout]     |
[INFO] [stdout] 449 |     assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]    --> tests/json.rs:449:47
[INFO] [stdout]     |
[INFO] [stdout] 449 |     assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:450:36
[INFO] [stdout]     |
[INFO] [stdout] 450 |     assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingArray` in this scope
[INFO] [stdout]    --> tests/json.rs:450:48
[INFO] [stdout]     |
[INFO] [stdout] 450 |     assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingArray;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:451:37
[INFO] [stdout]     |
[INFO] [stdout] 451 |     assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]    --> tests/json.rs:451:49
[INFO] [stdout]     |
[INFO] [stdout] 451 |     assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4)));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:452:38
[INFO] [stdout]     |
[INFO] [stdout] 452 |     assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:452:50
[INFO] [stdout]     |
[INFO] [stdout] 452 |     assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:453:39
[INFO] [stdout]     |
[INFO] [stdout] 453 |     assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:453:51
[INFO] [stdout]     |
[INFO] [stdout] 453 |     assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:455:35
[INFO] [stdout]     |
[INFO] [stdout] 455 |     assert_eq!(from_str("[]"), Ok(Array(vec![])));
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:456:36
[INFO] [stdout]     |
[INFO] [stdout] 456 |     assert_eq!(from_str("[ ]"), Ok(Array(vec![])));
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:457:39
[INFO] [stdout]     |
[INFO] [stdout] 457 |     assert_eq!(from_str("[true]"), Ok(Array(vec![Boolean(true)])));
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:457:50
[INFO] [stdout]     |
[INFO] [stdout] 457 |     assert_eq!(from_str("[true]"), Ok(Array(vec![Boolean(true)])));
[INFO] [stdout]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:458:42
[INFO] [stdout]     |
[INFO] [stdout] 458 |     assert_eq!(from_str("[ false ]"), Ok(Array(vec![Boolean(false)])));
[INFO] [stdout]     |                                          ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:458:53
[INFO] [stdout]     |
[INFO] [stdout] 458 |     assert_eq!(from_str("[ false ]"), Ok(Array(vec![Boolean(false)])));
[INFO] [stdout]     |                                                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:459:39
[INFO] [stdout]     |
[INFO] [stdout] 459 |     assert_eq!(from_str("[null]"), Ok(Array(vec![Null])));
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:459:50
[INFO] [stdout]     |
[INFO] [stdout] 459 |     assert_eq!(from_str("[null]"), Ok(Array(vec![Null])));
[INFO] [stdout]     |                                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:460:39
[INFO] [stdout]     |
[INFO] [stdout] 460 |     assert_eq!(from_str("[3, 1]"), Ok(Array(vec![U64(3), U64(1)])));
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:460:50
[INFO] [stdout]     |
[INFO] [stdout] 460 |     assert_eq!(from_str("[3, 1]"), Ok(Array(vec![U64(3), U64(1)])));
[INFO] [stdout]     |                                                  ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:460:58
[INFO] [stdout]     |
[INFO] [stdout] 460 |     assert_eq!(from_str("[3, 1]"), Ok(Array(vec![U64(3), U64(1)])));
[INFO] [stdout]     |                                                          ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:461:43
[INFO] [stdout]     |
[INFO] [stdout] 461 |     assert_eq!(from_str("\n[3, 2]\n"), Ok(Array(vec![U64(3), U64(2)])));
[INFO] [stdout]     |                                           ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:461:54
[INFO] [stdout]     |
[INFO] [stdout] 461 |     assert_eq!(from_str("\n[3, 2]\n"), Ok(Array(vec![U64(3), U64(2)])));
[INFO] [stdout]     |                                                      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:461:62
[INFO] [stdout]     |
[INFO] [stdout] 461 |     assert_eq!(from_str("\n[3, 2]\n"), Ok(Array(vec![U64(3), U64(2)])));
[INFO] [stdout]     |                                                              ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:462:44
[INFO] [stdout]     |
[INFO] [stdout] 462 |     assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])])));
[INFO] [stdout]     |                                            ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:462:55
[INFO] [stdout]     |
[INFO] [stdout] 462 |     assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])])));
[INFO] [stdout]     |                                                       ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:462:63
[INFO] [stdout]     |
[INFO] [stdout] 462 |     assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])])));
[INFO] [stdout]     |                                                               ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:462:74
[INFO] [stdout]     |
[INFO] [stdout] 462 |     assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])])));
[INFO] [stdout]     |                                                                          ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:462:82
[INFO] [stdout]     |
[INFO] [stdout] 462 |     assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])])));
[INFO] [stdout]     |                                                                                  ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:504:35
[INFO] [stdout]     |
[INFO] [stdout] 504 |     assert_eq!(from_str("{"), Err(SyntaxError(EOFWhileParsingObject, 1, 2)));
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:504:47
[INFO] [stdout]     |
[INFO] [stdout] 504 |     assert_eq!(from_str("{"), Err(SyntaxError(EOFWhileParsingObject, 1, 2)));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:505:36
[INFO] [stdout]     |
[INFO] [stdout] 505 |     assert_eq!(from_str("{ "), Err(SyntaxError(EOFWhileParsingObject, 1, 3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:505:48
[INFO] [stdout]     |
[INFO] [stdout] 505 |     assert_eq!(from_str("{ "), Err(SyntaxError(EOFWhileParsingObject, 1, 3)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:506:36
[INFO] [stdout]     |
[INFO] [stdout] 506 |     assert_eq!(from_str("{1"), Err(SyntaxError(KeyMustBeAString, 1, 2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KeyMustBeAString` in this scope
[INFO] [stdout]    --> tests/json.rs:506:48
[INFO] [stdout]     |
[INFO] [stdout] 506 |     assert_eq!(from_str("{1"), Err(SyntaxError(KeyMustBeAString, 1, 2)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::KeyMustBeAString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:507:41
[INFO] [stdout]     |
[INFO] [stdout] 507 |     assert_eq!(from_str("{ \"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:507:53
[INFO] [stdout]     |
[INFO] [stdout] 507 |     assert_eq!(from_str("{ \"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:508:40
[INFO] [stdout]     |
[INFO] [stdout] 508 |     assert_eq!(from_str("{\"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 5)));
[INFO] [stdout]     |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:508:52
[INFO] [stdout]     |
[INFO] [stdout] 508 |     assert_eq!(from_str("{\"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 5)));
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:509:41
[INFO] [stdout]     |
[INFO] [stdout] 509 |     assert_eq!(from_str("{\"a\" "), Err(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:509:53
[INFO] [stdout]     |
[INFO] [stdout] 509 |     assert_eq!(from_str("{\"a\" "), Err(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:511:42
[INFO] [stdout]     |
[INFO] [stdout] 511 |     assert_eq!(from_str("{\"a\" 1"), Err(SyntaxError(ExpectedColon, 1, 6)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ExpectedColon` in this scope
[INFO] [stdout]    --> tests/json.rs:511:54
[INFO] [stdout]     |
[INFO] [stdout] 511 |     assert_eq!(from_str("{\"a\" 1"), Err(SyntaxError(ExpectedColon, 1, 6)));
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::ExpectedColon;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:512:41
[INFO] [stdout]     |
[INFO] [stdout] 512 |     assert_eq!(from_str("{\"a\":"), Err(SyntaxError(EOFWhileParsingValue, 1, 6)));
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]    --> tests/json.rs:512:53
[INFO] [stdout]     |
[INFO] [stdout] 512 |     assert_eq!(from_str("{\"a\":"), Err(SyntaxError(EOFWhileParsingValue, 1, 6)));
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:513:42
[INFO] [stdout]     |
[INFO] [stdout] 513 |     assert_eq!(from_str("{\"a\":1"), Err(SyntaxError(EOFWhileParsingObject, 1, 7)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:513:54
[INFO] [stdout]     |
[INFO] [stdout] 513 |     assert_eq!(from_str("{\"a\":1"), Err(SyntaxError(EOFWhileParsingObject, 1, 7)));
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:514:44
[INFO] [stdout]     |
[INFO] [stdout] 514 |     assert_eq!(from_str("{\"a\":1 1"), Err(SyntaxError(InvalidSyntax, 1, 8)));
[INFO] [stdout]     |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]    --> tests/json.rs:514:56
[INFO] [stdout]     |
[INFO] [stdout] 514 |     assert_eq!(from_str("{\"a\":1 1"), Err(SyntaxError(InvalidSyntax, 1, 8)));
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:515:43
[INFO] [stdout]     |
[INFO] [stdout] 515 |     assert_eq!(from_str("{\"a\":1,"), Err(SyntaxError(EOFWhileParsingObject, 1, 8)));
[INFO] [stdout]     |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:515:55
[INFO] [stdout]     |
[INFO] [stdout] 515 |     assert_eq!(from_str("{\"a\":1,"), Err(SyntaxError(EOFWhileParsingObject, 1, 8)));
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]    --> tests/json.rs:518:79
[INFO] [stdout]     |
[INFO] [stdout] 518 |     assert_eq!(from_str("{\"a\": 3}").unwrap(), mk_object(&[("a".to_string(), U64(3))]));
[INFO] [stdout]     |                                                                               ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:522:39
[INFO] [stdout]     |
[INFO] [stdout] 522 |         mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))])
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:522:64
[INFO] [stdout]     |
[INFO] [stdout] 522 |         mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))])
[INFO] [stdout]     |                                                                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:526:39
[INFO] [stdout]     |
[INFO] [stdout] 526 |         mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))])
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:526:64
[INFO] [stdout]     |
[INFO] [stdout] 526 |         mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))])
[INFO] [stdout]     |                                                                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:530:39
[INFO] [stdout]     |
[INFO] [stdout] 530 |         mk_object(&[("a".to_string(), F64(1.0)), ("b".to_string(), Array(vec![Boolean(true)]))])
[INFO] [stdout]     |                                       ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:530:68
[INFO] [stdout]     |
[INFO] [stdout] 530 |         mk_object(&[("a".to_string(), F64(1.0)), ("b".to_string(), Array(vec![Boolean(true)]))])
[INFO] [stdout]     |                                                                    ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:530:79
[INFO] [stdout]     |
[INFO] [stdout] 530 |         mk_object(&[("a".to_string(), F64(1.0)), ("b".to_string(), Array(vec![Boolean(true)]))])
[INFO] [stdout]     |                                                                               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]    --> tests/json.rs:545:31
[INFO] [stdout]     |
[INFO] [stdout] 545 |             ("a".to_string(), F64(1.0)),
[INFO] [stdout]     |                               ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:548:17
[INFO] [stdout]     |
[INFO] [stdout] 548 |                 Array(vec![
[INFO] [stdout]     |                 ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]    --> tests/json.rs:549:21
[INFO] [stdout]     |
[INFO] [stdout] 549 |                     Boolean(true),
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:550:21
[INFO] [stdout]     |
[INFO] [stdout] 550 |                     String("foo\nbar".to_string()),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 550 |                     String { vec: val },
[INFO] [stdout]     |                     ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]    --> tests/json.rs:551:81
[INFO] [stdout]     |
[INFO] [stdout] 551 |                     mk_object(&[("c".to_string(), mk_object(&[("d".to_string(), Null)]))])
[INFO] [stdout]     |                                                                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]    --> tests/json.rs:618:57
[INFO] [stdout]     |
[INFO] [stdout] 618 |     assert_eq!(from_str("{\n  \"foo\":\n \"bar\""), Err(SyntaxError(EOFWhileParsingObject, 3, 8)));
[INFO] [stdout]     |                                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]    --> tests/json.rs:618:69
[INFO] [stdout]     |
[INFO] [stdout] 618 |     assert_eq!(from_str("{\n  \"foo\":\n \"bar\""), Err(SyntaxError(EOFWhileParsingObject, 3, 8)));
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseError` in this scope
[INFO] [stdout]    --> tests/json.rs:636:23
[INFO] [stdout]     |
[INFO] [stdout] 636 |         Err(e) => Err(ParseError(e)),
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ParseError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ParseError` in this scope
[INFO] [stdout]    --> tests/json.rs:641:13
[INFO] [stdout]     |
[INFO] [stdout] 641 |         Err(ParseError(e)) => panic!("`{:?}` is not valid json: {:?}", to_parse, e),
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ParseError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:649:37
[INFO] [stdout]     |
[INFO] [stdout] 649 |     check_err::<DecodeStruct>("[]", ExpectedError("Object".to_string(), "[]".to_string()));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:652:9
[INFO] [stdout]     |
[INFO] [stdout] 652 |         ExpectedError("Number".to_string(), "true".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:656:9
[INFO] [stdout]     |
[INFO] [stdout] 656 |         ExpectedError("Boolean".to_string(), "[]".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:660:9
[INFO] [stdout]     |
[INFO] [stdout] 660 |         ExpectedError("String".to_string(), "{}".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:664:9
[INFO] [stdout]     |
[INFO] [stdout] 664 |         ExpectedError("Array".to_string(), "null".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MissingFieldError` in this scope
[INFO] [stdout]    --> tests/json.rs:668:9
[INFO] [stdout]     |
[INFO] [stdout] 668 |         MissingFieldError("w".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::MissingFieldError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MissingFieldError` in this scope
[INFO] [stdout]    --> tests/json.rs:673:35
[INFO] [stdout]     |
[INFO] [stdout] 673 |     check_err::<DecodeEnum>("{}", MissingFieldError("variant".to_string()));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::MissingFieldError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:676:9
[INFO] [stdout]     |
[INFO] [stdout] 676 |         ExpectedError("String".to_string(), "1".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MissingFieldError` in this scope
[INFO] [stdout]    --> tests/json.rs:678:53
[INFO] [stdout]     |
[INFO] [stdout] 678 |     check_err::<DecodeEnum>("{\"variant\": \"A\"}", MissingFieldError("fields".to_string()));
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::MissingFieldError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:681:9
[INFO] [stdout]     |
[INFO] [stdout] 681 |         ExpectedError("Array".to_string(), "null".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnknownVariantError` in this scope
[INFO] [stdout]    --> tests/json.rs:685:9
[INFO] [stdout]     |
[INFO] [stdout] 685 |         UnknownVariantError("C".to_string()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::UnknownVariantError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:891:38
[INFO] [stdout]     |
[INFO] [stdout] 891 |     tree.insert("hello".to_string(), String("guten tag".to_string()));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 891 |     tree.insert("hello".to_string(), String { vec: val });
[INFO] [stdout]     |                                      ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:892:40
[INFO] [stdout]     |
[INFO] [stdout] 892 |     tree.insert("goodbye".to_string(), String("sayonara".to_string()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 892 |     tree.insert("goodbye".to_string(), String { vec: val });
[INFO] [stdout]     |                                        ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]    --> tests/json.rs:894:16
[INFO] [stdout]     |
[INFO] [stdout] 894 |     let json = Array(
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]    --> tests/json.rs:899:13
[INFO] [stdout]     |
[INFO] [stdout] 899 |             String("greetings".to_string()), // 1x
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 899 |             String { vec: val }, // 1x
[INFO] [stdout]     |             ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Object` in this scope
[INFO] [stdout]    --> tests/json.rs:900:13
[INFO] [stdout]     |
[INFO] [stdout] 900 |             Object(tree),                    // 1x + 2x + 2x + 1x
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::Json::Object;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope
[INFO] [stdout]    --> tests/json.rs:974:28
[INFO] [stdout]     |
[INFO] [stdout] 974 |     assert_eq!(result, Err(ExpectedError("Number".to_string(), "a".to_string())));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 5   | use rustc_ap_serialize::json::DecoderError::ExpectedError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1000:14
[INFO] [stdout]      |
[INFO] [stdout] 1000 |             (ObjectStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StringValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1001:14
[INFO] [stdout]      |
[INFO] [stdout] 1001 |             (StringValue("bar".to_string()), vec![StackElement::Key("foo")]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::StringValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1002:14
[INFO] [stdout]      |
[INFO] [stdout] 1002 |             (ArrayStart, vec![StackElement::Key("array")]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1003:14
[INFO] [stdout]      |
[INFO] [stdout] 1003 |             (U64Value(0), vec![StackElement::Key("array"), StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1004:14
[INFO] [stdout]      |
[INFO] [stdout] 1004 |             (U64Value(1), vec![StackElement::Key("array"), StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1005:14
[INFO] [stdout]      |
[INFO] [stdout] 1005 |             (U64Value(2), vec![StackElement::Key("array"), StackElement::Index(2)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1006:14
[INFO] [stdout]      |
[INFO] [stdout] 1006 |             (U64Value(3), vec![StackElement::Key("array"), StackElement::Index(3)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1007:14
[INFO] [stdout]      |
[INFO] [stdout] 1007 |             (U64Value(4), vec![StackElement::Key("array"), StackElement::Index(4)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1008:14
[INFO] [stdout]      |
[INFO] [stdout] 1008 |             (U64Value(5), vec![StackElement::Key("array"), StackElement::Index(5)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1009:14
[INFO] [stdout]      |
[INFO] [stdout] 1009 |             (ArrayEnd, vec![StackElement::Key("array")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1010:14
[INFO] [stdout]      |
[INFO] [stdout] 1010 |             (ArrayStart, vec![StackElement::Key("idents")]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1011:14
[INFO] [stdout]      |
[INFO] [stdout] 1011 |             (NullValue, vec![StackElement::Key("idents"), StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1012:14
[INFO] [stdout]      |
[INFO] [stdout] 1012 |             (BooleanValue(true), vec![StackElement::Key("idents"), StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1013:14
[INFO] [stdout]      |
[INFO] [stdout] 1013 |             (BooleanValue(false), vec![StackElement::Key("idents"), StackElement::Index(2)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1014:14
[INFO] [stdout]      |
[INFO] [stdout] 1014 |             (ArrayEnd, vec![StackElement::Key("idents")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1015:14
[INFO] [stdout]      |
[INFO] [stdout] 1015 |             (ObjectEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1021:19
[INFO] [stdout]      |
[INFO] [stdout] 1021 |     let mut evt = NullValue;
[INFO] [stdout]      |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1032:34
[INFO] [stdout]      |
[INFO] [stdout] 1032 |     assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3)));
[INFO] [stdout]      |                                  ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1032:40
[INFO] [stdout]      |
[INFO] [stdout] 1032 |     assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3)));
[INFO] [stdout]      |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1032:52
[INFO] [stdout]      |
[INFO] [stdout] 1032 |     assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3)));
[INFO] [stdout]      |                                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1033:34
[INFO] [stdout]      |
[INFO] [stdout] 1033 |     assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2)));
[INFO] [stdout]      |                                  ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1033:40
[INFO] [stdout]      |
[INFO] [stdout] 1033 |     assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2)));
[INFO] [stdout]      |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KeyMustBeAString` in this scope
[INFO] [stdout]     --> tests/json.rs:1033:52
[INFO] [stdout]      |
[INFO] [stdout] 1033 |     assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2)));
[INFO] [stdout]      |                                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::KeyMustBeAString;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1034:39
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     assert_eq!(last_event("{ \"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                       ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1034:45
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     assert_eq!(last_event("{ \"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1034:57
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     assert_eq!(last_event("{ \"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1035:38
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     assert_eq!(last_event("{\"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 5)));
[INFO] [stdout]      |                                      ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1035:44
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     assert_eq!(last_event("{\"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 5)));
[INFO] [stdout]      |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1035:56
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     assert_eq!(last_event("{\"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 5)));
[INFO] [stdout]      |                                                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1036:39
[INFO] [stdout]      |
[INFO] [stdout] 1036 |     assert_eq!(last_event("{\"a\" "), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                       ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1036:45
[INFO] [stdout]      |
[INFO] [stdout] 1036 |     assert_eq!(last_event("{\"a\" "), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1036:57
[INFO] [stdout]      |
[INFO] [stdout] 1036 |     assert_eq!(last_event("{\"a\" "), Error(SyntaxError(EOFWhileParsingObject, 1, 6)));
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1038:40
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     assert_eq!(last_event("{\"a\" 1"), Error(SyntaxError(ExpectedColon, 1, 6)));
[INFO] [stdout]      |                                        ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1038:46
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     assert_eq!(last_event("{\"a\" 1"), Error(SyntaxError(ExpectedColon, 1, 6)));
[INFO] [stdout]      |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ExpectedColon` in this scope
[INFO] [stdout]     --> tests/json.rs:1038:58
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     assert_eq!(last_event("{\"a\" 1"), Error(SyntaxError(ExpectedColon, 1, 6)));
[INFO] [stdout]      |                                                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::ExpectedColon;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1039:39
[INFO] [stdout]      |
[INFO] [stdout] 1039 |     assert_eq!(last_event("{\"a\":"), Error(SyntaxError(EOFWhileParsingValue, 1, 6)));
[INFO] [stdout]      |                                       ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1039:45
[INFO] [stdout]      |
[INFO] [stdout] 1039 |     assert_eq!(last_event("{\"a\":"), Error(SyntaxError(EOFWhileParsingValue, 1, 6)));
[INFO] [stdout]      |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1039:57
[INFO] [stdout]      |
[INFO] [stdout] 1039 |     assert_eq!(last_event("{\"a\":"), Error(SyntaxError(EOFWhileParsingValue, 1, 6)));
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1040:40
[INFO] [stdout]      |
[INFO] [stdout] 1040 |     assert_eq!(last_event("{\"a\":1"), Error(SyntaxError(EOFWhileParsingObject, 1, 7)));
[INFO] [stdout]      |                                        ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1040:46
[INFO] [stdout]      |
[INFO] [stdout] 1040 |     assert_eq!(last_event("{\"a\":1"), Error(SyntaxError(EOFWhileParsingObject, 1, 7)));
[INFO] [stdout]      |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1040:58
[INFO] [stdout]      |
[INFO] [stdout] 1040 |     assert_eq!(last_event("{\"a\":1"), Error(SyntaxError(EOFWhileParsingObject, 1, 7)));
[INFO] [stdout]      |                                                          ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1041:42
[INFO] [stdout]      |
[INFO] [stdout] 1041 |     assert_eq!(last_event("{\"a\":1 1"), Error(SyntaxError(InvalidSyntax, 1, 8)));
[INFO] [stdout]      |                                          ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1041:48
[INFO] [stdout]      |
[INFO] [stdout] 1041 |     assert_eq!(last_event("{\"a\":1 1"), Error(SyntaxError(InvalidSyntax, 1, 8)));
[INFO] [stdout]      |                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1041:60
[INFO] [stdout]      |
[INFO] [stdout] 1041 |     assert_eq!(last_event("{\"a\":1 1"), Error(SyntaxError(InvalidSyntax, 1, 8)));
[INFO] [stdout]      |                                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1042:41
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     assert_eq!(last_event("{\"a\":1,"), Error(SyntaxError(EOFWhileParsingObject, 1, 8)));
[INFO] [stdout]      |                                         ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1042:47
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     assert_eq!(last_event("{\"a\":1,"), Error(SyntaxError(EOFWhileParsingObject, 1, 8)));
[INFO] [stdout]      |                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope
[INFO] [stdout]     --> tests/json.rs:1042:59
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     assert_eq!(last_event("{\"a\":1,"), Error(SyntaxError(EOFWhileParsingObject, 1, 8)));
[INFO] [stdout]      |                                                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingObject;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1043:42
[INFO] [stdout]      |
[INFO] [stdout] 1043 |     assert_eq!(last_event("{\"a\":1,}"), Error(SyntaxError(TrailingComma, 1, 8)));
[INFO] [stdout]      |                                          ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1043:48
[INFO] [stdout]      |
[INFO] [stdout] 1043 |     assert_eq!(last_event("{\"a\":1,}"), Error(SyntaxError(TrailingComma, 1, 8)));
[INFO] [stdout]      |                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingComma` in this scope
[INFO] [stdout]     --> tests/json.rs:1043:60
[INFO] [stdout]      |
[INFO] [stdout] 1043 |     assert_eq!(last_event("{\"a\":1,}"), Error(SyntaxError(TrailingComma, 1, 8)));
[INFO] [stdout]      |                                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::TrailingComma;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1045:37
[INFO] [stdout]      |
[INFO] [stdout] 1045 |     assert_stream_equal("{}", vec![(ObjectStart, vec![]), (ObjectEnd, vec![])]);
[INFO] [stdout]      |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1045:60
[INFO] [stdout]      |
[INFO] [stdout] 1045 |     assert_stream_equal("{}", vec![(ObjectStart, vec![]), (ObjectEnd, vec![])]);
[INFO] [stdout]      |                                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1049:14
[INFO] [stdout]      |
[INFO] [stdout] 1049 |             (ObjectStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1050:14
[INFO] [stdout]      |
[INFO] [stdout] 1050 |             (U64Value(3), vec![StackElement::Key("a")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1051:14
[INFO] [stdout]      |
[INFO] [stdout] 1051 |             (ObjectEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1057:14
[INFO] [stdout]      |
[INFO] [stdout] 1057 |             (ObjectStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1058:14
[INFO] [stdout]      |
[INFO] [stdout] 1058 |             (NullValue, vec![StackElement::Key("a")]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1059:14
[INFO] [stdout]      |
[INFO] [stdout] 1059 |             (BooleanValue(true), vec![StackElement::Key("b")]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1060:14
[INFO] [stdout]      |
[INFO] [stdout] 1060 |             (ObjectEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1066:14
[INFO] [stdout]      |
[INFO] [stdout] 1066 |             (ObjectStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1067:14
[INFO] [stdout]      |
[INFO] [stdout] 1067 |             (F64Value(1.0), vec![StackElement::Key("a")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::F64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1068:14
[INFO] [stdout]      |
[INFO] [stdout] 1068 |             (ArrayStart, vec![StackElement::Key("b")]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1069:14
[INFO] [stdout]      |
[INFO] [stdout] 1069 |             (BooleanValue(true), vec![StackElement::Key("b"), StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1070:14
[INFO] [stdout]      |
[INFO] [stdout] 1070 |             (ArrayEnd, vec![StackElement::Key("b")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1071:14
[INFO] [stdout]      |
[INFO] [stdout] 1071 |             (ObjectEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1084:14
[INFO] [stdout]      |
[INFO] [stdout] 1084 |             (ObjectStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1085:14
[INFO] [stdout]      |
[INFO] [stdout] 1085 |             (F64Value(1.0), vec![StackElement::Key("a")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::F64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1086:14
[INFO] [stdout]      |
[INFO] [stdout] 1086 |             (ArrayStart, vec![StackElement::Key("b")]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1087:14
[INFO] [stdout]      |
[INFO] [stdout] 1087 |             (BooleanValue(true), vec![StackElement::Key("b"), StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StringValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1089:17
[INFO] [stdout]      |
[INFO] [stdout] 1089 |                 StringValue("foo\nbar".to_string()),
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::StringValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1092:14
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             (ObjectStart, vec![StackElement::Key("b"), StackElement::Index(2)]),
[INFO] [stdout]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1094:17
[INFO] [stdout]      |
[INFO] [stdout] 1094 |                 ObjectStart,
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1098:17
[INFO] [stdout]      |
[INFO] [stdout] 1098 |                 NullValue,
[INFO] [stdout]      |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1107:17
[INFO] [stdout]      |
[INFO] [stdout] 1107 |                 ObjectEnd,
[INFO] [stdout]      |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1110:14
[INFO] [stdout]      |
[INFO] [stdout] 1110 |             (ObjectEnd, vec![StackElement::Key("b"), StackElement::Index(2)]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1111:14
[INFO] [stdout]      |
[INFO] [stdout] 1111 |             (ArrayEnd, vec![StackElement::Key("b")]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1112:14
[INFO] [stdout]      |
[INFO] [stdout] 1112 |             (ObjectEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ObjectEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1118:37
[INFO] [stdout]      |
[INFO] [stdout] 1118 |     assert_stream_equal("[]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]);
[INFO] [stdout]      |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1118:59
[INFO] [stdout]      |
[INFO] [stdout] 1118 |     assert_stream_equal("[]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]);
[INFO] [stdout]      |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1119:38
[INFO] [stdout]      |
[INFO] [stdout] 1119 |     assert_stream_equal("[ ]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]);
[INFO] [stdout]      |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1119:60
[INFO] [stdout]      |
[INFO] [stdout] 1119 |     assert_stream_equal("[ ]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]);
[INFO] [stdout]      |                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1123:14
[INFO] [stdout]      |
[INFO] [stdout] 1123 |             (ArrayStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1124:14
[INFO] [stdout]      |
[INFO] [stdout] 1124 |             (BooleanValue(true), vec![StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1125:14
[INFO] [stdout]      |
[INFO] [stdout] 1125 |             (ArrayEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1131:14
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             (ArrayStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1132:14
[INFO] [stdout]      |
[INFO] [stdout] 1132 |             (BooleanValue(false), vec![StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1133:14
[INFO] [stdout]      |
[INFO] [stdout] 1133 |             (ArrayEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1138:15
[INFO] [stdout]      |
[INFO] [stdout] 1138 |         vec![(ArrayStart, vec![]), (NullValue, vec![StackElement::Index(0)]), (ArrayEnd, vec![])],
[INFO] [stdout]      |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1138:37
[INFO] [stdout]      |
[INFO] [stdout] 1138 |         vec![(ArrayStart, vec![]), (NullValue, vec![StackElement::Index(0)]), (ArrayEnd, vec![])],
[INFO] [stdout]      |                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1138:80
[INFO] [stdout]      |
[INFO] [stdout] 1138 |         vec![(ArrayStart, vec![]), (NullValue, vec![StackElement::Index(0)]), (ArrayEnd, vec![])],
[INFO] [stdout]      |                                                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1143:14
[INFO] [stdout]      |
[INFO] [stdout] 1143 |             (ArrayStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1144:14
[INFO] [stdout]      |
[INFO] [stdout] 1144 |             (U64Value(3), vec![StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1145:14
[INFO] [stdout]      |
[INFO] [stdout] 1145 |             (U64Value(1), vec![StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1146:14
[INFO] [stdout]      |
[INFO] [stdout] 1146 |             (ArrayEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1152:14
[INFO] [stdout]      |
[INFO] [stdout] 1152 |             (ArrayStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1153:14
[INFO] [stdout]      |
[INFO] [stdout] 1153 |             (U64Value(3), vec![StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1154:14
[INFO] [stdout]      |
[INFO] [stdout] 1154 |             (U64Value(2), vec![StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1155:14
[INFO] [stdout]      |
[INFO] [stdout] 1155 |             (ArrayEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1161:14
[INFO] [stdout]      |
[INFO] [stdout] 1161 |             (ArrayStart, vec![]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1162:14
[INFO] [stdout]      |
[INFO] [stdout] 1162 |             (U64Value(2), vec![StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope
[INFO] [stdout]     --> tests/json.rs:1163:14
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             (ArrayStart, vec![StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayStart;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1164:14
[INFO] [stdout]      |
[INFO] [stdout] 1164 |             (U64Value(4), vec![StackElement::Index(1), StackElement::Index(0)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope
[INFO] [stdout]     --> tests/json.rs:1165:14
[INFO] [stdout]      |
[INFO] [stdout] 1165 |             (U64Value(1), vec![StackElement::Index(1), StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::U64Value;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1166:14
[INFO] [stdout]      |
[INFO] [stdout] 1166 |             (ArrayEnd, vec![StackElement::Index(1)]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope
[INFO] [stdout]     --> tests/json.rs:1167:14
[INFO] [stdout]      |
[INFO] [stdout] 1167 |             (ArrayEnd, vec![]),
[INFO] [stdout]      |              ^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::ArrayEnd;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1171:33
[INFO] [stdout]      |
[INFO] [stdout] 1171 |     assert_eq!(last_event("["), Error(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]      |                                 ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1171:39
[INFO] [stdout]      |
[INFO] [stdout] 1171 |     assert_eq!(last_event("["), Error(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]      |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1171:51
[INFO] [stdout]      |
[INFO] [stdout] 1171 |     assert_eq!(last_event("["), Error(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1173:35
[INFO] [stdout]      |
[INFO] [stdout] 1173 |     assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]      |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1173:47
[INFO] [stdout]      |
[INFO] [stdout] 1173 |     assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2)));
[INFO] [stdout]      |                                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1174:36
[INFO] [stdout]      |
[INFO] [stdout] 1174 |     assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3)));
[INFO] [stdout]      |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingArray` in this scope
[INFO] [stdout]     --> tests/json.rs:1174:48
[INFO] [stdout]      |
[INFO] [stdout] 1174 |     assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3)));
[INFO] [stdout]      |                                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingArray;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1175:37
[INFO] [stdout]      |
[INFO] [stdout] 1175 |     assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4)));
[INFO] [stdout]      |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1175:49
[INFO] [stdout]      |
[INFO] [stdout] 1175 |     assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4)));
[INFO] [stdout]      |                                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::EOFWhileParsingValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1176:38
[INFO] [stdout]      |
[INFO] [stdout] 1176 |     assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1176:50
[INFO] [stdout]      |
[INFO] [stdout] 1176 |     assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1177:39
[INFO] [stdout]      |
[INFO] [stdout] 1177 |     assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1177:51
[INFO] [stdout]      |
[INFO] [stdout] 1177 |     assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1181:37
[INFO] [stdout]      |
[INFO] [stdout] 1181 |     assert_eq!(last_event("nulla"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                     ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1181:43
[INFO] [stdout]      |
[INFO] [stdout] 1181 |     assert_eq!(last_event("nulla"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1181:55
[INFO] [stdout]      |
[INFO] [stdout] 1181 |     assert_eq!(last_event("nulla"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1182:37
[INFO] [stdout]      |
[INFO] [stdout] 1182 |     assert_eq!(last_event("truea"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                     ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1182:43
[INFO] [stdout]      |
[INFO] [stdout] 1182 |     assert_eq!(last_event("truea"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1182:55
[INFO] [stdout]      |
[INFO] [stdout] 1182 |     assert_eq!(last_event("truea"), Error(SyntaxError(TrailingCharacters, 1, 5)));
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1183:38
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     assert_eq!(last_event("falsea"), Error(SyntaxError(TrailingCharacters, 1, 6)));
[INFO] [stdout]      |                                      ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1183:44
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     assert_eq!(last_event("falsea"), Error(SyntaxError(TrailingCharacters, 1, 6)));
[INFO] [stdout]      |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1183:56
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     assert_eq!(last_event("falsea"), Error(SyntaxError(TrailingCharacters, 1, 6)));
[INFO] [stdout]      |                                                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1184:34
[INFO] [stdout]      |
[INFO] [stdout] 1184 |     assert_eq!(last_event("1a"), Error(SyntaxError(TrailingCharacters, 1, 2)));
[INFO] [stdout]      |                                  ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1184:40
[INFO] [stdout]      |
[INFO] [stdout] 1184 |     assert_eq!(last_event("1a"), Error(SyntaxError(TrailingCharacters, 1, 2)));
[INFO] [stdout]      |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1184:52
[INFO] [stdout]      |
[INFO] [stdout] 1184 |     assert_eq!(last_event("1a"), Error(SyntaxError(TrailingCharacters, 1, 2)));
[INFO] [stdout]      |                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1185:35
[INFO] [stdout]      |
[INFO] [stdout] 1185 |     assert_eq!(last_event("[]a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                   ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1185:41
[INFO] [stdout]      |
[INFO] [stdout] 1185 |     assert_eq!(last_event("[]a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1185:53
[INFO] [stdout]      |
[INFO] [stdout] 1185 |     assert_eq!(last_event("[]a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1186:35
[INFO] [stdout]      |
[INFO] [stdout] 1186 |     assert_eq!(last_event("{}a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                   ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1186:41
[INFO] [stdout]      |
[INFO] [stdout] 1186 |     assert_eq!(last_event("{}a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope
[INFO] [stdout]     --> tests/json.rs:1186:53
[INFO] [stdout]      |
[INFO] [stdout] 1186 |     assert_eq!(last_event("{}a"), Error(SyntaxError(TrailingCharacters, 1, 3)));
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::TrailingCharacters;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1190:57
[INFO] [stdout]      |
[INFO] [stdout] 1190 |     assert_eq!(Parser::new("null".chars()).next(), Some(NullValue));
[INFO] [stdout]      |                                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::NullValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1191:57
[INFO] [stdout]      |
[INFO] [stdout] 1191 |     assert_eq!(Parser::new("true".chars()).next(), Some(BooleanValue(true)));
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope
[INFO] [stdout]     --> tests/json.rs:1192:58
[INFO] [stdout]      |
[INFO] [stdout] 1192 |     assert_eq!(Parser::new("false".chars()).next(), Some(BooleanValue(false)));
[INFO] [stdout]      |                                                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::BooleanValue;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1194:33
[INFO] [stdout]      |
[INFO] [stdout] 1194 |     assert_eq!(last_event("n"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                 ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1194:39
[INFO] [stdout]      |
[INFO] [stdout] 1194 |     assert_eq!(last_event("n"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1194:51
[INFO] [stdout]      |
[INFO] [stdout] 1194 |     assert_eq!(last_event("n"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1195:35
[INFO] [stdout]      |
[INFO] [stdout] 1195 |     assert_eq!(last_event("nul"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                   ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1195:41
[INFO] [stdout]      |
[INFO] [stdout] 1195 |     assert_eq!(last_event("nul"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1195:53
[INFO] [stdout]      |
[INFO] [stdout] 1195 |     assert_eq!(last_event("nul"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1196:33
[INFO] [stdout]      |
[INFO] [stdout] 1196 |     assert_eq!(last_event("t"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                 ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1196:39
[INFO] [stdout]      |
[INFO] [stdout] 1196 |     assert_eq!(last_event("t"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1196:51
[INFO] [stdout]      |
[INFO] [stdout] 1196 |     assert_eq!(last_event("t"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1197:36
[INFO] [stdout]      |
[INFO] [stdout] 1197 |     assert_eq!(last_event("truz"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                    ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1197:42
[INFO] [stdout]      |
[INFO] [stdout] 1197 |     assert_eq!(last_event("truz"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1197:54
[INFO] [stdout]      |
[INFO] [stdout] 1197 |     assert_eq!(last_event("truz"), Error(SyntaxError(InvalidSyntax, 1, 4)));
[INFO] [stdout]      |                                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1198:33
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     assert_eq!(last_event("f"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                 ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1198:39
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     assert_eq!(last_event("f"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1198:51
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     assert_eq!(last_event("f"), Error(SyntaxError(InvalidSyntax, 1, 2)));
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]     --> tests/json.rs:1199:35
[INFO] [stdout]      |
[INFO] [stdout] 1199 |     assert_eq!(last_event("faz"), Error(SyntaxError(InvalidSyntax, 1, 3)));
[INFO] [stdout]      |                                   ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]      |
[INFO] [stdout] 5    | use core::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::JsonEvent::Error;
[INFO] [stdout]      |
[INFO] [stdout] 5    | use std::fmt::Error;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope
[INFO] [stdout]     --> tests/json.rs:1199:41
[INFO] [stdout]      |
[INFO] [stdout] 1199 |     assert_eq!(last_event("faz"), Error(SyntaxError(InvalidSyntax, 1, 3)));
[INFO] [stdout]      |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ParserError::SyntaxError;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope
[INFO] [stdout]     --> tests/json.rs:1199:53
[INFO] [stdout]      |
[INFO] [stdout] 1199 |     assert_eq!(last_event("faz"), Error(SyntaxError(InvalidSyntax, 1, 3)));
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::ErrorCode::InvalidSyntax;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]     --> tests/json.rs:1207:18
[INFO] [stdout]      |
[INFO] [stdout] 1207 |     let array2 = Array(vec![U64(1), U64(2)]);
[INFO] [stdout]      |                  ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1207:29
[INFO] [stdout]      |
[INFO] [stdout] 1207 |     let array2 = Array(vec![U64(1), U64(2)]);
[INFO] [stdout]      |                             ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1207:37
[INFO] [stdout]      |
[INFO] [stdout] 1207 |     let array2 = Array(vec![U64(1), U64(2)]);
[INFO] [stdout]      |                                     ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope
[INFO] [stdout]     --> tests/json.rs:1208:18
[INFO] [stdout]      |
[INFO] [stdout] 1208 |     let array3 = Array(vec![U64(1), U64(2), U64(3)]);
[INFO] [stdout]      |                  ^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::Array;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1208:29
[INFO] [stdout]      |
[INFO] [stdout] 1208 |     let array3 = Array(vec![U64(1), U64(2), U64(3)]);
[INFO] [stdout]      |                             ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1208:37
[INFO] [stdout]      |
[INFO] [stdout] 1208 |     let array3 = Array(vec![U64(1), U64(2), U64(3)]);
[INFO] [stdout]      |                                     ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1208:45
[INFO] [stdout]      |
[INFO] [stdout] 1208 |     let array3 = Array(vec![U64(1), U64(2), U64(3)]);
[INFO] [stdout]      |                                             ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1211:42
[INFO] [stdout]      |
[INFO] [stdout] 1211 |         tree_map.insert("a".to_string(), U64(1));
[INFO] [stdout]      |                                          ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1212:42
[INFO] [stdout]      |
[INFO] [stdout] 1212 |         tree_map.insert("b".to_string(), U64(2));
[INFO] [stdout]      |                                          ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Object` in this scope
[INFO] [stdout]     --> tests/json.rs:1213:9
[INFO] [stdout]      |
[INFO] [stdout] 1213 |         Object(tree_map)
[INFO] [stdout]      |         ^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::Object;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1218:35
[INFO] [stdout]      |
[INFO] [stdout] 1218 |     assert_eq!(3_isize.to_json(), I64(3));
[INFO] [stdout]      |                                   ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1219:32
[INFO] [stdout]      |
[INFO] [stdout] 1219 |     assert_eq!(4_i8.to_json(), I64(4));
[INFO] [stdout]      |                                ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1220:33
[INFO] [stdout]      |
[INFO] [stdout] 1220 |     assert_eq!(5_i16.to_json(), I64(5));
[INFO] [stdout]      |                                 ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1221:33
[INFO] [stdout]      |
[INFO] [stdout] 1221 |     assert_eq!(6_i32.to_json(), I64(6));
[INFO] [stdout]      |                                 ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1222:33
[INFO] [stdout]      |
[INFO] [stdout] 1222 |     assert_eq!(7_i64.to_json(), I64(7));
[INFO] [stdout]      |                                 ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1223:35
[INFO] [stdout]      |
[INFO] [stdout] 1223 |     assert_eq!(8_usize.to_json(), U64(8));
[INFO] [stdout]      |                                   ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1224:32
[INFO] [stdout]      |
[INFO] [stdout] 1224 |     assert_eq!(9_u8.to_json(), U64(9));
[INFO] [stdout]      |                                ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1225:34
[INFO] [stdout]      |
[INFO] [stdout] 1225 |     assert_eq!(10_u16.to_json(), U64(10));
[INFO] [stdout]      |                                  ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1226:34
[INFO] [stdout]      |
[INFO] [stdout] 1226 |     assert_eq!(11_u32.to_json(), U64(11));
[INFO] [stdout]      |                                  ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1227:34
[INFO] [stdout]      |
[INFO] [stdout] 1227 |     assert_eq!(12_u64.to_json(), U64(12));
[INFO] [stdout]      |                                  ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]     --> tests/json.rs:1228:36
[INFO] [stdout]      |
[INFO] [stdout] 1228 |     assert_eq!(13.0_f32.to_json(), F64(13.0_f64));
[INFO] [stdout]      |                                    ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope
[INFO] [stdout]     --> tests/json.rs:1229:36
[INFO] [stdout]      |
[INFO] [stdout] 1229 |     assert_eq!(14.0_f64.to_json(), F64(14.0_f64));
[INFO] [stdout]      |                                    ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::F64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]     --> tests/json.rs:1230:30
[INFO] [stdout]      |
[INFO] [stdout] 1230 |     assert_eq!(().to_json(), Null);
[INFO] [stdout]      |                              ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]     --> tests/json.rs:1231:41
[INFO] [stdout]      |
[INFO] [stdout] 1231 |     assert_eq!(f32::INFINITY.to_json(), Null);
[INFO] [stdout]      |                                         ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]     --> tests/json.rs:1232:36
[INFO] [stdout]      |
[INFO] [stdout] 1232 |     assert_eq!(f64::NAN.to_json(), Null);
[INFO] [stdout]      |                                    ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]     --> tests/json.rs:1233:32
[INFO] [stdout]      |
[INFO] [stdout] 1233 |     assert_eq!(true.to_json(), Boolean(true));
[INFO] [stdout]      |                                ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope
[INFO] [stdout]     --> tests/json.rs:1234:33
[INFO] [stdout]      |
[INFO] [stdout] 1234 |     assert_eq!(false.to_json(), Boolean(false));
[INFO] [stdout]      |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::Boolean;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]     --> tests/json.rs:1235:33
[INFO] [stdout]      |
[INFO] [stdout] 1235 |     assert_eq!("abc".to_json(), String("abc".to_string()));
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]      |
[INFO] [stdout] 1235 |     assert_eq!("abc".to_json(), String { vec: val });
[INFO] [stdout]      |                                 ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String`
[INFO] [stdout]     --> tests/json.rs:1236:45
[INFO] [stdout]      |
[INFO] [stdout] 1236 |     assert_eq!("abc".to_string().to_json(), String("abc".to_string()));
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: use struct literal syntax instead
[INFO] [stdout]      |
[INFO] [stdout] 1236 |     assert_eq!("abc".to_string().to_json(), String { vec: val });
[INFO] [stdout]      |                                             ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::String;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope
[INFO] [stdout]     --> tests/json.rs:1251:36
[INFO] [stdout]      |
[INFO] [stdout] 1251 |     assert_eq!(Some(15).to_json(), I64(15));
[INFO] [stdout]      |                                    ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::I64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope
[INFO] [stdout]     --> tests/json.rs:1252:45
[INFO] [stdout]      |
[INFO] [stdout] 1252 |     assert_eq!(Some(15 as usize).to_json(), U64(15));
[INFO] [stdout]      |                                             ^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::U64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Null` in this scope
[INFO] [stdout]     --> tests/json.rs:1253:41
[INFO] [stdout]      |
[INFO] [stdout] 1253 |     assert_eq!(None::<isize>.to_json(), Null);
[INFO] [stdout]      |                                         ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]      |
[INFO] [stdout] 5    | use rustc_ap_serialize::json::Json::Null;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> tests/json.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(RustcDecodable, Eq, PartialEq, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> tests/json.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> tests/json.rs:53:37
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)]
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> tests/json.rs:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> tests/json.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)]
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> tests/json.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> tests/json.rs:66:37
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)]
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> tests/json.rs:573:10
[INFO] [stdout]     |
[INFO] [stdout] 573 | #[derive(RustcDecodable)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> tests/json.rs:621:10
[INFO] [stdout]     |
[INFO] [stdout] 621 | #[derive(RustcDecodable)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> tests/json.rs:629:10
[INFO] [stdout]     |
[INFO] [stdout] 629 | #[derive(RustcDecodable)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> tests/json.rs:938:14
[INFO] [stdout]     |
[INFO] [stdout] 938 |     #[derive(RustcEncodable, Eq, Hash, PartialEq, RustcDecodable, Debug)]
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> tests/json.rs:938:51
[INFO] [stdout]     |
[INFO] [stdout] 938 |     #[derive(RustcEncodable, Eq, Hash, PartialEq, RustcDecodable, Debug)]
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]     --> tests/json.rs:1259:35
[INFO] [stdout]      |
[INFO] [stdout] 1259 |     #[derive(PartialEq, Eq, Hash, RustcEncodable)]
[INFO] [stdout]      |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 408 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0432, E0463, E0531.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-ap-serialize` due to 409 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "84df62c58ec3c2091b962a9fc7aade9e92e392df15203f93ecbd6ee6245a7cb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84df62c58ec3c2091b962a9fc7aade9e92e392df15203f93ecbd6ee6245a7cb6", kill_on_drop: false }`
[INFO] [stdout] 84df62c58ec3c2091b962a9fc7aade9e92e392df15203f93ecbd6ee6245a7cb6
